<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@	taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:url var="baseURI" value="/" />

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>系统参数设置</title>
	<!-- 引入外部CSS -->
	<link rel="stylesheet" type="text/css" href="${baseURI}resources/easyui/themes/metro-green/easyui.css" />
	<link rel="stylesheet" type="text/css" href="${baseURI}resources/easyui/themes/icon.css" />
	<!-- 引入外部JS -->
	<script type="text/javascript" src="${baseURI}resources/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="${baseURI}resources/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="${baseURI}resources/js/common.js"></script>
	<script type="text/javascript" src="${baseURI}resources/js/myeasyui.js"></script>
	<script type="text/javascript" src="${baseURI}resources/js/easyui_ext.js"></script>
</head>

<body>
<form id="form_question">
	<!-- 循环生成2行1列的表格 -->
	<c:forEach items="${questions}" var="question" varStatus="status">
		<table style="margin:10px 20px 0 20px;font-size: 18px; width: 95% ">
			<thead>
				<tr>
					<th>${status.count}：${question.questionContent}</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>
						<input name="${question.id}" class="easyui-textbox" data-options="validType:'maxleng[255]',multiline:true" style="width: 100%;height: 80px;" />
					</td>
				</tr>
			</tbody>
		</table>
	</c:forEach>
</form>

<!-- 静态引入JS文件 -->
<script type="text/javascript"><%@include file="question_list.ui.js"%></script>
</body>
</html>